package com.baohulu.baohulu;

import android.app.Application;
import android.content.Context;

import com.baidu.mapapi.SDKInitializer;


public class MyApplication extends Application {

    private static MyApplication sContext;

    public static Context getAppContext() {
        return sContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sContext = this;
        //初始化百度地图sdk
        SDKInitializer.initialize(getApplicationContext());
    }
}
